<?php if(!defined('SPRITCH')) { exit(); }

class welcome_controller extends controller
{
	public function index()
	{
		$this->output->page = '<html>
	<head>
		<title>Spritch - It Works!</title>
	</head>
	<body>
		<center>
			<h2>It Works!</h2>
			<p>If you see this message Spritch '.VERSION.' is working correctly</p>
		</center>
			<h3>What is next to do?</h3>
			<ul>
				<li><a href="http://www.spritch.org/learndevelop/cookbook/configuration">Configuring Spritch</a></li>
				<li><a href="http://www.spritch.org/learndevelop/cookbook/datamodel">Setting up the data model</a> (optional)</li>
				<li><a href="http://www.spritch.org/learndevelop/">Learning more about Spritch</a></li>
				<li><b>Having fun!</b></li>
			</ul>
			<p>This page can be removed by deleting the <code>welcome.php</code> file in the <code>/application/controllers</code> folder</p>
	</body>
</html>';
		$this->output->direct();
		
	}
	
	public function __call($method = null,$args = array())
	{
		$this->index();
	}
}
?>